﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oxite.Infrastructure;
using Oxite.Validation;
//using ECube.Organization.Repositories;
//using ECube.Organization.Models;
namespace ECube.HR.Services
{
    public class HRService : IHRService
    {
        //private readonly IOrganizationRepository repository;
        //private readonly IValidationService validator;
        //private readonly IPluginEngine pluginEngine;
        //private readonly IOxiteCacheModule cache;
        //private readonly OxiteContext context;

        //public OrganizationService(IOrganizationRepository repository, IValidationService validator, IPluginEngine pluginEngine, IModulesLoaded modules, OxiteContext context)
        //{
        //    this.repository = repository;
        //    this.validator = validator;
        //    this.pluginEngine = pluginEngine;
        //    this.cache = modules.GetModules<IOxiteCacheModule>().Reverse().First();
        //    this.context = context;
        //}

        //#region IOrganizationService 成员

        //public IEnumerable<Models.Organization> GetOrganizations()
        //{
        //    return repository.GetOrganizations();
        //}

        //#endregion
    }
}
